//
//  MGECCV.h.h
//
//  Created by HeLei on 2018/11/22.
//  Copyright © 2018年 电力设备. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol MGECCVDelegate <NSObject>

- (void)chooseCarTypeSureAndUndoBtnAction:(UIButton *)sender;
@optional
- (void)changePickerFrame;

@end

@interface MGPickerView : UIView
- (id)initWithFrame:(CGRect)frame withDataArr:(NSArray *)arr;

@property (nonatomic,strong)UIPickerView *pickerView;
@property (nonatomic,strong)id<MGECCVDelegate>delegate;

@property (nonatomic,strong)NSString *carTypeStr;

@property (nonatomic,assign)NSInteger carTypeStrIndex;
@property (nonatomic,strong)NSArray * dataArr;
@end

